import request from '@/utils/request'

// 查询我的二课得分列表
export function listMySecond(query) {
  return request({
    url: '/gxs/mySecond/list',
    method: 'get',
    params: query
  })
}

// 查询我的二课得分详细
export function getMySecond(gxsSecondid) {
  return request({
    url: '/gxs/mySecond/' + gxsSecondid,
    method: 'get'
  })
}

// 新增我的二课得分
export function addMySecond(data) {
  return request({
    url: '/gxs/mySecond',
    method: 'post',
    data: data
  })
}

// 修改我的二课得分
export function updateMySecond(data) {
  return request({
    url: '/gxs/mySecond',
    method: 'put',
    data: data
  })
}

// 删除我的二课得分
export function delMySecond(gxsSecondid) {
  return request({
    url: '/gxs/mySecond/' + gxsSecondid,
    method: 'delete'
  })
}
